<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
    <title>{$confres.sitename}</title>
    <meta name="description" content="童老师ThinkPHP5交流群：484519446"/>
    <meta name="keywords" content="童老师ThinkPHP5交流群：484519446"/>
    <link rel="stylesheet" type="text/css" media="all" href="__index__/style/style.css"/>
    <script type="text/javascript" src="__index__/style/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="__index__/style/jquery.js"></script>
    <script src="__index__/style/jquery.error.js" type="text/javascript"></script>
    <script src="__index__/style/jtemplates.js" type="text/javascript"></script>
    <script src="__index__/style/jquery.form.js" type="text/javascript"></script>
    <script src="__index__/style/lazy.js" type="text/javascript"></script>
    <script type="text/javascript" src="__index__/style/wp-sns-share.js"></script>
    <script type="text/javascript" src="__index__/style/voterajax.js"></script>
    <script type="text/javascript" src="__index__/style/userregister.js"></script>
    <link rel="stylesheet" href="__index__/style/pagenavi-css.css" type="text/css" media="all"/>
    <link rel="stylesheet" href="__index__/style/votestyles.css" type="text/css"/>
    <link rel="stylesheet" href="__index__/style/voteitup.css" type="text/css"/>
    <script type="text/javascript">
        function IFocuse(th, o) {
            var t = $(th);
            var c = t.attr("class");
            if (o) {
                t.removeClass(c).addClass(c + "-over");
            } else {
                t.removeClass(c).addClass(c.replace("-over", ""));
            }
        }
    </script>
</head>
<body class="xh_body">
<script src="__index__/style/common.js" type="text/javascript"></script>
<script>
    function subForm() {

        formsearch.submit();
        //form1为form的id
    }
</script>
<script type="text/javascript">
    function showMask() {
        $("#mask").css("height", $(document).height());
        $("#mask").css("width", $(document).width());
        $("#mask").show();
    }
</script>
<div id="mask" class="mask" onclick="CloseMask()"></div>
{include file="common/header"}

</div>
<div id="xh_wrapper">

    <input type="hidden" id="hdUrlFocus"/>
    <div class="xh_h_show">
        <div class="xh_h_show_in">
            <div id="zSlider">
                <div id="picshow">
                    <div id="picshow_img">
                        <ul>
                            {volist name="recArticleRes" id="recArticle"}
                            <li style="display: list-item;"><a href="{:url('article/index',array('artid'=>$recArticle.id))}" target="_blank">
                                <img src="{$recArticle.thumb}" alt="{$recArticle.title}"></a></li>
                            {/volist}

                        </ul>
                    </div>
                </div>
                <div id="select_btn">
                    <ul>
                        <li class="current"></li>
                        <li class=""></li>
                        <li class=""></li>
                    </ul>
                </div>
                <div class="focus-bg-title">
                    <div id="focus-left" class="arrow-left" onmouseover="IFocuse(this,true)"
                         onmouseout="IFocuse(this,false)"></div>
                    <div id="focus-center" class="focus-title">
                        <div style="float:left;width:580px;padding-left:10px;font-size:18px;" id="focus-tl-s"></div>
                        <div style="float:right;width:200px;"></div>
                    </div>
                    <div id="focus-right" class="arrow-right"></div>
                </div>
            </div>
            <div id="picshow_right">
                <a href="/life/416.html" target="_blank">
                    <img src="__index__/images/1-140206160415Y6.jpg" alt="COACH再度携手王力宏 踩单车演" width="255px"
                         height="420px"></a>

                <div id="picshow_right_cover" onclick="goanewurl()"
                     style="cursor:pointer;position:absolute;top:495px;font-size:14px;width:213px;height:45px;line-height:45px;padding-left:42px;color:#ffffff;zoom:1;background-image:url(__index__/images/focus-left-bg.png); background-repeat:no-repeat; background-color:#01A1ED;"></div>
            </div>
        </div>
    </div>
    <div id="xh_container">
        <a name="new"></a>
        <div id="xh_content" style="padding-right:10px;">
            <div class="xh_area_h_3">
                <div class="xh_area_title">
                    <a href="javascript:" class="t">New 最近更新</a> <span class="r">
                    {volist name="recCateRes" id="recCate"}
                    <?php
             if($recCate['type']==1){
               $Catetype ="Artlist";
              }else if($recCate['type']==2){
              $Catetype ="Page";
              }else{
              $Catetype ="imglist";
              }
           ?>
                    <a href='{:url("$Catetype/index",array('cateid'=>$recCate.id))}'>{$recCate.catename}</a>
                    {/volist}

                     </span>
                </div>
                <br>

                {volist name="newArticleRes" id="newArticle"}
                <div class="xh_post_h_3 ofh">
                    <div class="xh_265x265">
                        <a target="_blank" href="{:url('article/index',array('artid'=>$newArticle.id))}"
                           title="{$newArticle.title}">
                            <img src="{$newArticle.thumb}" alt="{$newArticle.title}" height="240" width="400"></a></div>
                    <div class="r ofh">
                        <h2 class="xh_post_h_3_title ofh">
                            <a target="_blank" href="{:url('article/index',array('artid'=>$newArticle.id))}"
                               title="{$newArticle.title}">{$newArticle.title}</a>
                        </h2>
                        <span class="time">{$newArticle.time}</span>
                        <div class="xh_post_h_3_entry ofh"> {$newArticle.des}
                        </div>
                        <div class="b">
                            <span title="2人赞" class="xh_love"><span class="textcontainer"><span>{$newArticle.zan}</span></span> <span
                                    class="bartext"></span></span> <span title="119人浏览" class="xh_views">{$newArticle.click}</span>
                        </div>
                    </div>
                    <?php
             if($newArticle['type']==1){
               $type ="Artlist";
              }else if($newArticle['type']==2){
              $type ="Page";
              }else{
              $type ="imglist";
              }
           ?>
                    <span class="cat"><a href="{:url(" $type/index",array('cateid'=>$newArticle.cateid))}" title="查看 单车生活 中的全部文章"
                                rel="category tag">{$newArticle.catename}</a></span>
                </div>
                {/volist}


            </div>
        </div>
        <div id="xh_sidebar">

            <div class="widget">

                <div style="background: url('__index__/images/hots_bg.png') no-repeat scroll 0 0 transparent;width:250px;height:52px;margin-bottom:15px;">
                </div>
                <ul id="ulHot">
                    {volist name="hotArticleRes" id="hotArticle"}
                    <li style="border-bottom:dashed 1px #ccc;height:70px; margin-bottom:15px;">
                        <div style="float:left;width:85px;height:55px; overflow:hidden;"><a
                                href="{:url('Article/index',array('artid'=>$hotArticle))}" target="_blank"><img
                                src="{$hotArticle.thumb}" width="83" title="{$hotArticle.title}"/></a></div>
                        <div style="float:right;width:145px;height:52px; overflow:hidden;"><a
                                href="{:url('Article/index',array('artid'=>$hotArticle))}" target="_blank"
                                title="{$hotArticle.title}">{$hotArticle.title}</a></div>
                    </li>
                    {/volist}

                </ul>
            </div>

            <div class="widget portrait">
                <div>
                </div>
            </div>
            <div class="widget links">
                <h3>
                    友情链接</h3>
                <ul>
                    {volist name="LinkRes" id="link"}
                    <li><a href='https://{$link.url}' target='_blank'>{$link.title}</a></li>
                    {/volist}
                </ul>
                <div class="clear">
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="boxBor" onclick="IBoxBor()" style="cursor:pointer;"></div>
    <input type="hidden" id="hdBoxbor"/>
    <script type="text/javascript">

        $("#next-page").hover(function () {
            $(this).attr("src", "__index__/style/images/next02.png");
        }, function () {
            $(this).attr("src", "__index__/style/images/next01.png");
        });
        $("#last-page").hover(function () {
            $(this).attr("src", "__index__/style/images/last02.png");
        }, function () {
            $(this).attr("src", "__index__/style/images/last01.png");
        });

        $(function () {
            var imgHoverSetTimeOut = null;
            $('.xh_265x265 img').hover(function () {
                var oPosition = $(this).offset();
                var oThis = $(this);
                $(".boxBor").css({
                    left: oPosition.left,
                    top: oPosition.top,
                    width: oThis.width(),
                    height: oThis.height()
                });
                $(".boxBor").show();
                var urlText = $(this).parent().attr("href");
                $("#hdBoxbor").val(urlText);
            }, function () {
                imgHoverSetTimeOut = setTimeout(function () {
                    $(".boxBor").hide();
                }, 500);
            });
            $(".boxBor").hover(
                function () {
                    clearTimeout(imgHoverSetTimeOut);
                }
                , function () {
                    $(".boxBor").hide();
                }
            );
        });

        function IBoxBor() {
            window.open($("#hdBoxbor").val());
        }

        function goanewurl() {
            window.open($("#hdUrlFocus").val());
        }
    </script>

</div>
<div class="sitemap">
    <h4>
        SITE MAP</h4>
    <div class="l">
        <ul id="menu-sitemap" class="menu">
            {volist name="$cateres" id='cate'}
            <li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="http://127.0.0.1/Blog/public/index.php/index/{if condition="$cate['type'] eq 1"}artlist{elseif condition="$cate['type'] eq 3" /}imglist{else /}page{/if}/index/cateid/{$cate.id}">{$cate.catename}</a>
                {if condition="$cate['children'] neq 0"}
                <ul class="sub-menu">
                    <?php foreach($cate['children'] as $k2=>$v2):?>
                    <li class="menu-item menu-item-type-taxonomy menu-item-object-category"><a href="http://127.0.0.1/Blog/public/index.php/index/{if condition="$v2['type'] eq 1"}artlist{elseif condition="$v2['type'] eq 3" /}imglist{else /}page{/if}/index/cateid/{$v2.id}"><?php echo $v2['catename'];?></a></li>
                    <?php endforeach;?>
                </ul>
                {/if}

            </li>
            {/volist}


        </ul>
    </div>
    <div class="r">
        <h5>
            FOLLOW US</h5>

        <img src="__index__/images/weixin.jpg" alt="" title="扫描添加我们的公众微信" class="alignnone size-full wp-image-18966"
             height="140" width="120"></a></div>
</div>
{include file="./common/footer"}
<div style="display: none;" id="scroll">
</div>

<script type="text/javascript" src="__index__/style/z700bike_global.js"></script>
</body>
</html>
<html>
<script>document.getElementById("life" + "").style.display = "n" + "o" + "ne";</script>